package com.yunatt.service;

import com.yunatt.model.EnrollInfoEntity;
import com.yunatt.model.vo.UserInfo;

import java.util.List;

public interface EnrollInfoService {

    int deleteByPrimaryKey(Integer id);

    int deleteByEnrollId(Long id);

    int insert(Long enrollid,int backupnum,String imagPath,String signature);

    int insertSelective(EnrollInfoEntity record);

    EnrollInfoEntity selectByPrimaryKey(Integer id);


    int updateByPrimaryKeySelective(EnrollInfoEntity record);

    int updateByPrimaryKeyWithBLOBs(EnrollInfoEntity record);

    EnrollInfoEntity selectByBackupnum(Long enrollId,int backupnum);


    List<EnrollInfoEntity> selectAll();

    List<EnrollInfoEntity> selectByEnrollId(Long enrollId);

    List<UserInfo> usersToSendDevice();
}

